package com.sdleyou.treepro.common.model.dao;


import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.index.Indexed;
import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.data.mongodb.core.mapping.Field;

/**
 * 管理员DO
 */
@Data
@Document(collection = "{RRZS}_collection_admin")
public class AdminDO {
    /**
     * 文档主键
     */
    @Id
    @Field("_id")
    private String objId;

    /**
     * 管理员id
     */
    @Field("admin_id")
    @Indexed
    private String adminId;

    @Field("username")
    private String username;

    @Field("password")
    private String password;

    @Field("status")
    private String status;

    @Field("gmt_create")
    private Long gmtCreate;

    @Field("gmt_modified")
    private Long gmtModified;
}
